// 评价专家与评价任务关系表
package dbModel

import "time"

type ExpertAndEvaluateTaskRelationship struct {
	Id         string    `json:"id" gorm:"primary_key; column:id; type:varchar(255)"`
	TaskId     string    `json:"taskId" gorm:"column:task_id; type:varchar(255)" validate:"required"`
	ExpertId   string    `json:"expertId" gorm:"column:expert_id; type:varchar(255)" validate:"required"`
	CreateTime time.Time `json:"-" gorm:"column:create_time; autoCreateTime"`
	UpdateTime time.Time `json:"-" gorm:"column:update_time; autoUpdateTime"`
}

// 数据表
func (*ExpertAndEvaluateTaskRelationship) TableName() string {
	return "expert_and_evaluate_task_relationship"
}
